import request from '../utils/request'

export default {
    changeEnable(id,enable){
        return request({
            url:"/changeEnable",
            method:'post',
            params: {
                id:id,
                enable:enable
            }
        })
    },
    getUserChange(){
        return request({
            url:"/getUserChange",
            method:'get',
        })
    },
    editUserChangeInfo(id,college,name){
        return request({
            url:"/editUserChangeInfo",
            method:'post',
            params: {
                id:id,
                college:college,
                name:name
            }
        })
    },
    insertUser(id,college,name) {
        return request({
            url:"/insertUser",
            method:'post',
            params: {
                id:id,
                college:college,
                name:name
            }
        })
    }
}